package cn.itsource.user.service;

import cn.itsource.basic.utils.AjaxResult;
import cn.itsource.user.domain.User;
import cn.itsource.basic.service.BaseService;

import javax.servlet.http.HttpServletResponse;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Tom
 * @since 2024-05-10
 */
public interface IUserService extends BaseService<User> {

    //修改状态
    AjaxResult handleState(User user);

    //电话号注册
    void registerPhone(Map<String, String> map);

    //邮箱注册
    void registerEmail(Map<String, String> map);

    ////在qq邮箱激活员工状态 - 1启用，0禁用
    void activation(Long id, HttpServletResponse response);

    User handleUser(Long logininfoId);

    AjaxResult modifyUser(User user);
}
